﻿using JIESHINet.Model.Entity;
using JIESHINet.Repository.IRepository;
using Newtonsoft.Json;

namespace JIESHINet.Repository.Repository
{
    public class UserRepository : IUserRepository
    {
       public async Task<List<User>> Query()
        {
            await Task.CompletedTask;
            var data = "[{\"name\":\"jieshi\"}]";
            return JsonConvert.DeserializeObject<List<User>>(data) ?? new List<User>(); 
        }
    }
}
